<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      .box {
        width: 100vw;
        height: 100vh;
        background-color: #bfa;
      }
      .top {
        width: 5.2vw;
        height: 9.26vh;
        background-color: orange;
      }
      .bottom {
        width: 5.2vw;
        height: 9.26vh;
        background-color: gray;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="top"></div>
      <div class="bottom"></div>
    </div>
  </body>
  <script>
    // vw | vh ：新增的单位 ->IE8以上
  </script>
</html>
